<!DOCTYPE html>
<html lang="en">
<head>
  <meta charset="UTF-8">
  <meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=0">
  <meta http-equiv="X-UA-Compatible" content="ie=edge">
  <title>来店吧</title>
  <link href="https://cdn.bootcss.com/jquery-weui/1.2.0/css/jquery-weui.min.css" rel="stylesheet">
  <link href="https://cdn.bootcss.com/weui/1.1.3/style/weui.min.css" rel="stylesheet">
  <link rel="stylesheet" href="./css/public.css">
  <link rel="stylesheet" href="./css/index.css">
  <!-- <link rel="stylesheet" href="./css/mb.css"> -->
  <style class="initial_style">
    body.mb0{
        background: url(./images/mb/bg.png) no-repeat;
    }
    .time .mb0{
        color:#000;
    }
    .content_self label.mb0{
        background: url(./images/mb/t-bg1.png) no-repeat;
        color:#fff;
    }
    .content_self>.mb0>.mb0{
        color: #fee;
    }
    .content_fix label.mb0{
        background: url(./images/mb/t-bg1.png) no-repeat;
        color: #fee;
    }
    .big_title>.mb0{
        color: #323535;
    }
    .bargain_content>.mb0{
        background:rgba(255,255,255,.7);
        border:1px solid #eee;
    }
    .lab_content>.mb0{
        background:rgba(255,255,255,0.7);
        border:1px solid #eee;
    }

  </style>
</head>
<body class="mb0">
    <div class="loadings" style="">
        <div class="loader"></div>
    </div>
    <form action="#" id="form">
    <div class="banner">
        <img class="top_pic" src="./images/mb/head.png" id="active_kj_banner">
        <span class="sug">图片建议尺寸:750*600</span>
        <ul class="banner_mb">
            <li id="change_mb">
                <i class="banner_mb_i"></i>
                <span>更换模板</span>
            </li>
            <li id="change_img">
                <i class="banner_pic_i"></i>
                <span>更换图片</span>
            </li>
        </ul>
        <!--更换模板弹窗-->
        <div class="banner_mb_tab">
            <div class="clearfix">
                <div class="banner_mb_tab_clk fr" data="" data-typeid="">
                        确认
                    </div>
                    <div class="banner_mb_tab_qx fr" data="">
                        取消
                    </div>
                </div>
            <div class="banner_mb_tab_div">
                <input name="mb_dialog" type="hidden" >
                <ul id="mb_ul">
                    <!-- <li>
                        <input name="mb_dialog" type="hidden" >
                        <img id="mb1" src="./images/mb/head1.png" alt="">
                    </li>
                    <li>
                        <input name="mb_dialog" type="text" style="display:none;">
                        <img id="mb2" src="./images/mb/head2.png" alt="">
                    </li>
                    <li>
                        <input name="mb_dialog" type="text" style="display:none;">
                        <img id="mb3" src="./images/mb/head3.png" alt="">
                    </li>
                    <li>
                        <input name="mb_dialog" type="text" style="display:none;">
                        <img id="mb4" src="./images/mb/head4.png" alt="">
                    </li>
                    <li>
                        <input name="mb_dialog" type="text" style="display:none;">
                        <img id="mb5" src="./images/mb/head5.png" alt="">
                    </li>
                    <li>
                        <input name="mb_dialog" type="text" style="display:none;">
                        <img id="mb6" src="./images/mb/head6.png" alt="">
                    </li> -->
                </ul>
            </div>
        </div>
        <!-- 更换图片弹窗 -->
        <div class="banner_img_tab">
            <div class="clearfix">
                <div class="banner_img_tab_upload fl">
                    <input type="file" id="file1" style="width:100%;height:100%;position: absolute;top: 0;left:0;opacity:0;">
                    上传图片
                </div>
                <span class="banner_sug_tab_upload fl">建议尺寸:750*600</span>
                <div class="banner_img_tab_clk fr" data="" data-typeid="">
                    确认
                </div>
                <div class="banner_img_tab_qx fr" data="">
                    取消
                </div>
            </div>
            <div class="banner_img_tab_div">
                <ul id="img_ul">
                    <!-- <li>
                        <input name="img_dialog" type="text" style="display:none;">
                        <img src="./images/mb/head1.png" alt="">
                    </li>
                    <li>
                        <input name="img_dialog" type="text" style="display:none;">
                        <img src="./images/mb/head2.png" alt="">
                    </li>
                    <li>
                        <input name="img_dialog" type="text" style="display:none;">
                        <img src="./images/mb/head3.png" alt="">
                    </li>
                    <li>
                        <input name="img_dialog" type="text" style="display:none;">
                        <img src="./images/mb/head4.png" alt="">
                    </li>
                    <li>
                        <input name="img_dialog" type="text" style="display:none;">
                        <img src="./images/mb/head5.png" alt="">
                    </li>
                    <li>
                        <input name="img_dialog" type="text" style="display:none;">
                        <img src="./images/mb/head6.png" alt="">
                    </li> -->
                </ul>
            </div>
        </div>
        <ul class="mb-edit-btnWrap">
            <li class="mb-edit-btn" id="musicBtn">
                <input type="text" name="music" id="music" style="display: none;">
                <img src="./images/music.png" alt="">
                <p>音乐</p>
            </li>
            <li class="mb-edit-btn" id="animateBtn">
                <input type="text" name="magic" id="magic" style="display: none;">
                <img src="./images/magic.png" alt="">
                <p>特效</p>
            </li>
        </ul>
    </div>

    <!--标题-->
    <div class="big_title" style="height: auto;">
        <div class="change_title">
            <i></i>
            <span>更换标题</span>
        </div>
        <textarea class="mb0 kj_color" maxlength="30" id="kj_title" name="big_title">**少儿艺术舞蹈班疯狂砍价，只需99即可赢取699的10节课程！</textarea>
        <em>包括标点符号最多30字</em>
    </div>
    <!-- 更换标题 -->
    <div class="title_tab_bg">
        <div class="banner_title_tab">
            <p class="banner_top">点击选择标题</p>
            <ul class="title_con">
                <!-- <li><label><input type="radio" name="reply" value="**少儿艺术舞蹈班疯狂砍价，只需99即可赢取699的10节课程！"><span>**少儿艺术舞蹈班疯狂砍价，只需99即可赢取699的10节课程！</span></label></li>
                <li><label><input type="radio" name="reply" value="价值199的925银手链，我在***珠宝城砍到9.9，还不一起来！"><span>价值199的925银手链，我在***珠宝城砍到9.9，还不一起来！</span></label></li>
                <li><label><input type="radio" name="reply" value="**火锅疯狂减价，只需砍到9.9，即可赢取价值68元火锅底料一份！"><span>**火锅疯狂减价，只需砍到9.9，即可赢取价值68元火锅底料一份！</span></label></li>
                <li><label><input type="radio" name="reply" value="周年钜惠送福利，**珠宝点玛瑙黄金貔貅68元疯狂抢购中！"><span>周年钜惠送福利，**珠宝点玛瑙黄金貔貅68元疯狂抢购中！</span></label></li>
                <li><label><input type="radio" name="reply" value="砍 砍 砍！**影院全面升级，邀您9.9元看电影喽！"><span>砍 砍 砍！**影院全面升级，邀您9.9元看电影喽！</span></label></li>
                <li><label><input type="radio" name="reply" value="99，玩一宿，**KTY重装升级，夜场嗨不停！更有小食相送！"><span>99，玩一宿，**KTY重装升级，夜场嗨不停！更有小食相送！</span></label></li>
                <li><label><input type="radio" name="reply" value="**开业特惠巨献，健身月卡据说只要30元哦！"><span>**开业特惠巨献，健身月卡据说只要30元哦！</span></label></li>
                <li><label><input type="radio" name="reply" value="吃货们注意啦！**西饼房千层蛋糕惊爆价只需99元！快来砍价吧！"><span>吃货们注意啦！**西饼房千层蛋糕惊爆价只需99元！快来砍价吧！</span></label></li>
                <li><label><input type="radio" name="reply" value="**儿童游乐园周年感恩回馈，欢乐砍价，9.9元畅玩一天！"><span>**儿童游乐园周年感恩回馈，欢乐砍价，9.9元畅玩一天！</span></label></li>
                <li><label><input type="radio" name="reply" value="**教育艺术中心盛大开业，888元课程底价88元疯狂抢！"><span>**教育艺术中心盛大开业，888元课程底价88元疯狂抢！</span></label></li> -->
            </ul>
            <button type="button" class="close_title">关闭</button>
        </div>
    </div>
    <!-- 更换标题 -->
    <!--活动时间-->
    <div class="time">
        <div class="mb0">
            <div class="time_content">
                <e class="all_tips" style="float: none;margin-top: -0.1rem;display: inline-block;">*</e><span>活动时间</span>
                <input name="startDate" type="text" id="StartDate" value="" readonly="">
            </div>
            <div class="time_content"><span>至</span>
                <input name="endDate" id="EndDate" type="text" value="2019-01-01 16:02" readonly="">
            </div>
        </div>
        
    </div>
    <!--主题内容-->
    <div class="bargain_content content_item1">
        <div class="mb0">
            <ul class="clearfix">
                <li>
                    <span class="content_span">
                        <e class="all_tips">∗</e>原价：</span>
                    <input name="original_price" class="content_input" type="number" id="original_price">
                    <span class="font_left_1 content_span">元</span>
                    <em class="content_em">如有报名者，不可修改</em>
                </li>
                <li>
                    <span class="content_span">
                        <e class="all_tips">∗</e>底价：</span>
                    <input name="floor_price" class="content_input" type="number" id="floor_price">
                    <span class="font_left_1 content_span">元</span>
                    <em class="content_em">如有报名者，不可修改</em>
                </li>
                <li>
                    <span class="content_span">
                        <e class="all_tips">∗</e>需砍价：</span>
                    <input name="jk_x" class="content_input" type="number" id="jk_x">
                    <span class="font_left_1 content_span">次</span>
                    <em class="content_em">如有报名者，不可修改
                        <br>建议设置20-50次</em>
                </li>
                <li>
                    <span class="content_span">
                        <e class="all_tips">∗</e>商品数量：</span>
                    <input name="commodity_num" class="content_input" type="number" id="commodity_num">
                    <span class="font_left_1 content_span">份</span>
                    <em class="content_em">如有报名者，数字只能增不能减</em>
                </li>
                <li>
                    <span class="content_span">报名者每隔：</span>
                    <input name="kj_jg" type="number" max="24" min="1" id="kj_jg" onkeyup="this.value=this.value.replace(/\D/g,'')" onafterpaste="this.value=this.value.replace(/\D/g,'')">
                    <span class="font_left_1 content_span">小时,可再次给自己砍价</span>
                    <em class="content_em">
                        可以设置每个报名者在活动时间内多次给自己砍价;
                        <br> 如不设置，则默认报名者仅一次给自己砍价的机会;
                        <br> 帮砍者仅一次机会。如有报名者，不可再修改
                    </em>
                </li>
            </ul>
            <div class="ms_content">
                <label class="d_radio_label fl">砍到底价付费方式:</label>
                <ul class="d_radio fl">
                    <li>
                        <input type="text" name="line_type" style="display: none;">
                        <div class="radios radios1 radios_checked" data-name="paynum"></div>
                        <span>线下</span>
                    </li>
                    <li>
                        <input type="text" name="line_type" style="display: none;">
                        <div class="radios2 radios" data-name="paynum"></div>
                        <span style="float: left;">线上预付</span>
                        <input name="advance" type="number" id="needPriceRuless" class="input_text" style="display:none;background: transparent;text-align:center;">
                        <!-- <input type="number" id="needPriceRuless" class="input_text" style="display:none;background: transparent;text-align:center;"> -->
                        <span class="bm_input_text" id="needPriceRules_span" style="display: none;">元</span>
                    </li>
                </ul>
            </div>

            <!--邀请有礼-->
            <div class="invitesCourtesyEdit clearfix">
                <input type="checkbox" name="ICEcbox" id="ICEcbox" class="ICEcbox">
                <label class>开启邀请奖励</label>
                <span class="ICEwarn">仅支持线上支付不小于1元的砍价活动</span>
                <div class="ICEPriceDiv" style="display:none;"> 
                    <span class="content_span">每邀请成功1人奖励</span> 
                    <input name="ICEprice" class="ICEprice" id="ICEprice" type="number" min="0" max="9999">
                    <span>元</span>
                    <span class="ICEwarn">如有报名者，不可修改</span>
                </div>
                <div class="ICEPrompt" style="display: none;">奖励金额不得超过线上支付金额，被邀请人报名砍到底价并完成支付即为邀请成功，每邀请成功一人，系统将通过微信支付自动发放奖励</div>
            </div>

            <!-- liuya(sms) -->
            <div class="kjSms">
                <input type="checkbox" name="kjSmsCheck" id="kjSmsCheck" class="ly-check">
                <label for="kjSmsCheck">砍到底价自动推送短信</label>
                <!-- <span class="kjSms-warn" id="kjSmsWarn"></span>
                <button class="kjSms-choseSms" id="kjSmsChoseSms">选择短信</button>
                <p class="kjSms-content" id="kjSmsContent">多萨觉得好看时间啊捣谎架舌卡活动空间啊山东科技得好看时间啊捣谎架舌卡活动空间啊山东科阿斯达</p> -->
            </div>
            <div class="kjSms">
                <input type="checkbox" name="kjSmsCheck_c" id="kjSmsCheck_c" class="ly-check">
                <label for="kjSmsCheck_c">用户报名自动推送短信</label>
                <!-- <span class="kjSms-warn" id="kjSmsWarn_c"></span>
                <button class="kjSms-choseSms" id="kjSmsChoseSms_c">选择短信</button>
                <p class="kjSms-content" id="kjSmsContent_c">多萨觉得好看时间啊捣谎架舌卡活动空间啊山东科技得好看时间啊捣谎架舌卡活动空间啊山东科阿斯达</p> -->
            </div>
        </div>    
    </div>
    
    <!-- 活动优惠 （优惠券）--><!--coupon-->
    <div class="content_item2 content_self">
        <label class="mb0">
            <input name="title_one" class="mb0" type="text" value="活动优惠" id="get_coupon_title" maxlength="6">
            <span class="marked">小标题最多6个字</span>
        </label>
        <div class="lab_content bargain_get hz_content_style">
            <div class="mb0">
                <ul class="textMark text_con clearfix">
                    <li class="textMark-item textMarkIndex add_thing">
                        <div>
                        <textarea class="textMark_input" name="incentive[]" maxlength="50" oninput="MaxMe(this)" placeholder="活动结束前，到店顾客都将获得一份惊喜小礼包"></textarea></div>
                        <ul class="textMark_handle">
                            <li class="tHandleBottom">
                                <img src="./images/icon/3.png" alt="">
                                <span>向下</span>
                            </li>
                            <li class="tHandleTop">
                                <img src="./images/icon/8.png" alt="">
                                <span>向上</span>
                            </li>
                            <li class="tHandleDel">
                                <img src="./images/icon/5.png" alt="">
                                <span>删除</span>
                            </li>
                        </ul>
                    </li>
                    <li class="textMark-item add_item textMarkIndex add_thing">
                        <div>
                        <textarea class="textMark_input" name="incentive[]" maxlength="50" oninput="MaxMe(this)" placeholder="优惠内容（最多50个字）"></textarea></div>
                        <ul class="textMark_handle">
                            <li class="tHandleBottom">
                                <img src="./images/icon/3.png" alt="">
                                <span>向下</span>
                            </li>
                            <li class="tHandleTop">
                                <img src="./images/icon/8.png" alt="">
                                <span>向上</span>
                            </li>
                            <li class="tHandleDel">
                                <img src="./images/icon/5.png" alt="">
                                <span>删除</span>
                            </li>
                        </ul>
                    </li>
                </ul>
                <ul class="textMark-add_wrap clearfix">
                    <li id="addConponText" class="fl">
                        <img src="./images/icon/10.png" alt="" class="textMark-add_one">
                        <div class="textMark-add_two">添加文字</div>
                        <div class="textMark-add_three">（最多6个）</div>
                    </li>
                    <li id="addConponImg" class="fr">
                        <img src="./images/icon/10.png">
                        <div class="textMark-add_two">添加优惠券</div>
                        <div class="textMark-add_three">（最多6个）</div>
                    </li>
                </ul>
            </div>
        </div>
    </div>
        
    <!--商品描述-->
    <div class="content_item1 content_self">
        <label class="mb0">
            <input name="title_two" class="mb0" type="text" value="商品描述" id="goodsDescTitle" maxlength="6">
            <span class="marked">小标题最多6个字</span>
        </label>
        <div class="lab_content" id="goodsDesc">
            <div class="mb0">
<textarea name="describe" class="content_label_text" id="description_text" placeholder="(800字以内)" maxlength="800" oninput="MaxMe(this)">**少儿艺术舞蹈班开课咯！原价699元，砍价最低减至99元。
7种舞蹈任意选：东方舞、芭蕾舞、民族舞、拉丁舞、爵士舞、街舞、现代舞
总共10节课程，1.5h一课时。（只接收6-12岁儿童，新老用户均可参加）
            </textarea>
            <!-- <div class="content_label_text_tips">(800字以内)</div> -->
            
            <div class="img_upload" id="bargain_describe_img">
                <img src="./images/icon/9.png">
                <span>添加图片</span>
                <em>(最多添加4张图片)</em>
            </div>
            <!-- <div class="img_upload_y">
                <img src="" id="description_img">
                <em>
                    <i></i>删除</em>
            </div> -->
            <ul class="upload_y text_con">
                <li class="img_upload_y clearfix add_thing">
                    <div class="textMark_input input_pic" style="position: relative;">
                        <input type="file" name="desc[]" id="file0" style="width:100%;height:100%;position: absolute;top: 0;left:0;opacity:0;">
                        <img src="./images/icon/10.png" alt="">
                        <p>点击选择图片</p>
                    </div>
                    <!-- <img src="" id="img0" width="100%"> -->
                    <!-- <div class="uploadhidden">
                        <input id="uploaderInput" class="weui-uploader__input" type="file" accept="image/*" multiple="">
                    </div> -->
                    <!-- <img src="" id="description_img"> -->
                    <input name="desc_pic[]" type="text" style="display: none;">
                    <ul class="textMark_handle">
                        <li class="tHandleBottom">
                            <img src="./images/icon/3.png" alt="">
                            <span>向下</span>
                        </li>
                        <li class="tHandleTop">
                            <img src="./images/icon/8.png" alt="">
                            <span>向上</span>
                        </li>
                        <li class="tHandleDel">
                            <img src="./images/icon/5.png" alt="">
                            <span>删除</span>
                        </li>
                    </ul>
                </li>
                
            </ul>
        </div>
    </div>
    <!--活动规则-->
    <div class="content_item1 content_fix">    
        <label class="mb0">活动规则</label>
        <div class="lab_content">
            <div class="mb0">
            <textarea class="content_label_text rule_text" id="rule" oninput="MaxMe(this)" name="rules">1.点击上方按钮【我要报名】参加活动。
2.报名者自己每**小时可以点击【我再砍一刀】随机减少价格。
3.别人可以帮忙砍价，（每个人/包括报名者）只能帮忙一次。
4.商品数量有限，先到先得，亲速度哦！
5.砍价成功后，联系商家支付领取。
6.活动最终解释权归商家所有，与来店吧无关。
            </textarea>
        </div>
    </div>
    <!--领取信息-->
    <div class="content_item1 content_self">
        <label class="mb0">
            <input name="title_three" class="mb0" type="text" value="领取信息" id="get_information_title" maxlength="6">
            <span class="marked">小标题最多6个字</span>
        </label>
        <div class="lab_content bargain_get ">
            <div class="mb0">
                <textarea name="get_infor" class="content_label_text bargain_get_text" id="get_information_text" style="line-height: 23px;" oninput="MaxMe(this)">领取时间：
领取地址：
联系方式：13261273497
                </textarea>
            </div>
        </div>
    </div>
    <!--商家介绍-->
    <div class="content_item1 content_self">
        <label class="mb0">
            <input name="title_four" class="mb0" type="text" value="商家介绍" id="introduce_title" maxlength="6">
            <span class="marked">小标题最多6个字</span>
        </label>
        <div class="bargain_introduce lab_content clearfix">
            <div class="mb0">
                <ul class="add_content text_con">
                    <li class="introduce_con clearfix con_img">
                        <div class="textMark_input input_pic" style="position: relative;">
                            <input type="file" id="file0" style="width:100%;height:100%;position: absolute;top: 0;left:0;opacity:0;">
                            <img src="./images/icon/10.png" alt="">
                            <p>点击选择图片</p>
                        </div>
                        <input type="text" name="intro[]" style="display: none;">
                        <ul class="textMark_handle">
                            <li class="tHandleBottom">
                                <img src="./images/icon/3.png" alt="">
                                <span>向下</span>
                            </li>
                            <li class="tHandleTop">
                                <img src="./images/icon/8.png" alt="">
                                <span>向上</span>
                            </li>
                            <li class="tHandleDel">
                                <img src="./images/icon/5.png" alt="">
                                <span>删除</span>
                            </li>
                        </ul>
                    </li>
                    <li class="introduce_con clearfix con_text">
                        <textarea name="intro[]" class="textMark_input" placeholder="请添加文本" oninput="MaxMe(this)"></textarea>
                        <!-- <img src="" id="description_img"> -->
                        <ul class="textMark_handle">
                            <li class="tHandleBottom">
                                <img src="./images/icon/3.png" alt="">
                                <span>向下</span>
                            </li>
                            <li class="tHandleTop">
                                <img src="./images/icon/8.png" alt="">
                                <span>向上</span>
                            </li>
                            <li class="tHandleDel">
                                <img src="./images/icon/5.png" alt="">
                                <span>删除</span>
                            </li>
                        </ul>
                    </li>
                    <li class="introduce_con clearfix con_video">
                        <input class="textMark_input" name="intro[]" placeholder="请输入视频网址（仅支持腾讯）">
                        <ul class="textMark_handle">
                            <li class="tHandleBottom">
                                <img src="./images/icon/3.png" alt="">
                                <span>向下</span>
                            </li>
                            <li class="tHandleTop">
                                <img src="./images/icon/8.png" alt="">
                                <span>向上</span>
                            </li>
                            <li class="tHandleDel">
                                <img src="./images/icon/5.png" alt="">
                                <span>删除</span>
                            </li>
                        </ul>
                    </li>
                </ul>
                <ul class="bargain_introduce_tab">
                    <li id="add_text">
                        <i class="add_text_icon"></i>
                        <span>添加文本</span>
                    </li>
                    <li id="add_pic">
                        <i class="add_pic_icon"></i>
                        <span>添加图片</span>
                        <em>最多添加6张</em>
                    </li>
                    <li id="add_video">
                        <i class="add_video_icon"></i>
                        <span>添加视频</span>
                    </li>
                </ul>
            </div>
        </div>
    </div>
    <!--咨询热线-->
    <div class="content_item1 content_fix">
        <label class="mb0">联系方式</label>
        <div class="lab_content">
            <div class="mb0">
                <div class="tel_content">
                    <span class="content_span tel_span">
                        <e class="all_tips">∗</e>商家姓名：</span>
                    <input name="busi_name" class="content_input tel_input" type="text" id="consultation_name">
                </div>
                <em class=" tel_em"></em>
                <div class="tel_content">
                    <span class="content_span tel_span">
                        <e class="all_tips">∗</e>咨询热线：</span>
                    <input name="busi_phone" class="content_input tel_input" type="tel" id="consultation_tel">
                </div>
                <em class=" tel_em"></em>
                <div class="tel_content">
                    <span class="content_span tel_span tel_ads">商家地址：</span>
                    <input name="busi_address" class="content_input tel_input" id="consultation_addAds">
                    <img src="./images/icon/15.png" alt="" class="edit_pos_icon">
                </div>
                <em class=" tel_em"></em>
                <div class="tel_content">
                    <span class="content_span tel_span tel_ads">详细地址：</span>
                    <input name="busi_ads_detail" class="content_input tel_input" id="consultation_detailsAds" contenteditable="true">
                </div>
                <em class=" tel_em"></em>
            </div>
        </div>
    </div>
    <!--信息收集-->
    <div class="content_item1 content_fix">
        <label class="mb0">
            <span>信息收集</span>
        </label>
        <div class="lab_content tel_margin ">
            <div class="mb0">
                <label class="bm_em">自定义项为空则不显示，最多可填6个字。如有用户报名，此内容不可做任何修改。</label>
                <ul class="bm_list_info">
                    <li>
                        <input class="dis" name="name" type="text" value="姓名" disabled="disabled">
                        <div class="check">
                            <div class="bm_lock_checked"></div>
                            <span>必填项</span>
                        </div>
                    </li>
                    <li>
                        <input class="dis" name="phone" type="text" value="手机号" disabled="disabled">
                        <div class="check">
                            <div class="bm_lock_checked"></div>
                            <span>必填项</span>
                        </div>
                    </li>
                    <li>
                        <input type="text" name="infor1" value="" maxlength="6" placeholder="信息项名称">
                        <div class="check">
                            <input type="text" name="must1" style="display: none">
                            <div class="bm_lock"></div>
                            <span>必填项</span>
                        </div>
                    </li>
                    <li>
                        <input type="text" name="infor2" value="" maxlength="6" placeholder="信息项名称">
                        <div class="check">
                            <input type="text" name="must2" style="display: none">
                            <div class="bm_lock"></div>
                            <span>必填项</span>
                        </div>
                    </li>
                    <li>
                        <input type="text" name="infor3" value="" maxlength="6" placeholder="信息项名称">
                        <div class="check">
                            <input type="text" name="must3" style="display: none">
                            <div class="bm_lock"></div>
                            <span>必填项</span>
                        </div>
                    </li>
                </ul>
            </div>
        </div>
    </div>
    <!--保存-->
    <div class="bargain_btn">
        <ul>
            <li id="previewAct"><a href="javascript:;">预览</a></li>
            <li id="saveAct"><a href="">保存</a></li>
        </ul>
    </div>
    <!--返回顶部-->
    <div class="scroll_top">
        <img src="./images/icon/7.png">
    </div>
    </form>
    
    <iframe id="test" src="https://m.amap.com/picker/?center=116.458625,40.027821&key=013ba28253e208d823d400af76d85aa0"></iframe>

    <!-- <script src="https://res.wx.qq.com/open/js/jweixin-1.4.0.js"></script> -->
    <script src="https://res.wx.qq.com/open/libs/weuijs/1.1.4/weui.min.js"></script>
    <script src="./js/require.min.js"></script>
    <script>
        
        require.config({
            baseUrl: '.',
            paths: {
                'jquery': 'https://cdn.bootcss.com/jquery/2.2.4/jquery.min',
                'jquery-weui': 'https://cdn.bootcss.com/jquery-weui/1.2.0/js/jquery-weui.min',
                'weuijs': 'https://res.wx.qq.com/open/libs/weuijs/1.1.4/weui.min'
            },
            shim: {
                'jquery-weui': {
                    deps: ['jquery']
                },
                'weuijs': {
                    exports: 'weuijs',
                    deps: ['jquery']
                }
            },
            proiority: ['jquery']
        });
        
        require(['jquery','weuijs', 'jquery-weui'], function($,weui) {

            // 接口地址
            var url = {
                upload_img: "./json/upload.json",
                mb_list: "./json/mb.json",
                cover_list: "./json/img.json",
                picker_list: "./json/picker.json",
                title_list: "./json/title.json"
            };

            //预览
            $('#previewAct').on("click", function () {
                var obj = getSubmitObj();
                if (obj == false) {
                    return false;
                }
                $(this).find('a').prop('href', 'index1.html');
            });
            //保存
            $(document).on("click", "#saveAct", function () {
                var obj = getSubmitObj();
                if (obj == false) {
                    return false;
                }
                $(this).find('a').prop('href', 'index1.html');
            });
            // $('#form').on('submit', function() {
            //     $.post($(this).prop('action'), $(this).serialize(), function() {

            //     })
            // })
            //音乐 特效 选择器
            $(function() {
                $('#musicBtn').on('click', function() {
                    $.showLoading('加载中');
                    $.post(url.picker_list).then(function(res) {
                        $.hideLoading();
                        if(res.result == 'error') {
                            alert(res.message || '加载失败');
                        }
                        console.log(res);
                        var data = res.data;
                        weui.picker(data, {
                            onChange: function (result) {
                                console.log(result);
                            },
                            onConfirm: function (result) {
                                console.log(result);
                                $('#music').val(result);
                            }
                        });
                    }).fail(function(e) {
                        $.hideLoading();
                        console.log(e);
                        alert('加载失败');
                    });
                });
                $('#animateBtn').on('click', function() {
                    $.showLoading('加载中');
                    $.post(url.picker_list).then(function(res) {
                        $.hideLoading();
                        if(res.result == 'error') {
                            alert(res.message || '加载失败');
                        }
                        console.log(res);
                        var data = res.data;
                        weui.picker(data, {
                            onChange: function (result) {
                                console.log(result);
                            },
                            onConfirm: function (result) {
                                console.log(result);
                                $('#magic').val(result);
                            }
                        });
                    }).fail(function(e) {
                        $.hideLoading();
                        console.log(e);
                        alert('加载失败');
                    });
                });
            });
            //联系方式
            $(function() {
                $('#consultation_addAds').on('click', function() {
                    $('#test').show();
                    $('.edit_pos_icon').show();
                });
                $('.edit_pos_icon').on('click', function() {
                    $('#consultation_addAds').val('');
                    $('.edit_pos_icon').hide();
                });
            });
            // 活动时间
            $(function() {
                $("#StartDate").datetimePicker();
                $("#EndDate").datetimePicker();
            });
            // 当前时间
            current_time();
            $('#StartDate').val(time);
            //上一个下一个
            $(function() {
                $('.tHandleTop').on('click', function() {
                    var me = $(this).parent().parent();
                    var prev = me.prev();//上一个元素
                    $(me).after(prev);
                });
                $('.tHandleBottom').on('click', function() {
                    var my = $(this).parent().parent();
                    var next = my.next();//上一个元素
                    $(my).before(next);
                });
            })
            //返回顶部
            $(function() {
                $(window).scroll(function () {
                  if($(window).scrollTop() >= 100 ){
                    $(".scroll_top").stop().fadeIn(500);
                  }else {
                    $(".scroll_top").stop().fadeOut(500);
                  }
                });
                $(".scroll_top").click(function () {
                  $("body").stop().animate({scrollTop:0},1000);
                })
            });
            //活动优惠
            $(function() {
                //删除
                $('.tHandleDel').on('click', function() {
                    $(this).parentsUntil('.textMark').remove();
                });
                $('#addConponText').on('click', function() {
                    var textMark=$('.add_item:last').clone();
                    if($('.textMark-item').length>=6){
                        alert('最多添加6条')
                    }else {
                       $('.textMark').append(textMark); 
                    }
                    //删除
                    $(textMark).find('.tHandleDel').on('click', function() {
                        $(this).parentsUntil('.textMark').remove();
                    });
                    //上
                    $(textMark).find('.tHandleTop').on('click', function() {
                        var me = $(this).parent().parent();
                        var prev = me.prev();//上一个元素
                        $(me).after(prev);
                        $(prev).before(me);
                    });
                    //下
                    $(textMark).find('.tHandleBottom').on('click', function() {
                        var my = $(this).parent().parent();
                        var next = my.next();//上一个元素
                        $(my).before(next);
                        $(next).after(me);
                    });

                });
                $('#addConponImg').on('click', function() {
                    alert('当前无可用优惠券');
                })
            });
            //商品描述
            $(function() {
                $('#bargain_describe_img').on('click', function() {
                    var img_upload_y = $('.img_upload_y:first').clone();
                    img_upload_y.show();
                    $(this).hide();
                    if($('.img_upload_y').length>=5){
                        $(this).hide();
                    }else {
                        $(this).show();
                        $(this).before($('.upload_y'));
                        $('.upload_y').append(img_upload_y);
                    }
                    $(img_upload_y).on('click', function() {
                        upload(img_upload_y);
                    })
                    
                    $(img_upload_y).find('.tHandleDel').on('click', function() {
                        $(this).parentsUntil('.upload_y').remove();
                        event.stopPropagation();
                    });
                    move(img_upload_y);
                });
            });
            //商家介绍
            $(function() {
                $('#add_text').on('click', function() {
                    var con_text=$('.con_text:first').clone();
                    con_text.show();
                    $('.add_content').append(con_text);
                    $(con_text).find('.tHandleDel').on('click', function() {
                        $(this).parentsUntil('.add_content').remove();
                    });
                    //上下
                    move(con_text);
                });
                $('#add_pic').on('click', function() {
                    var con_pic=$('.con_img:first').clone();
                    con_pic.show();
                    if($('.con_img').length>=7){
                        alert('最多添加6张图片')
                    }else {
                       $('.add_content').append(con_pic); 
                    }
                    upload(con_pic);
                    $(con_pic).find('.tHandleDel').on('click', function() {
                        $(this).parentsUntil('.add_content').remove();
                        event.stopPropagation();
                    });
                    //上下
                    move(con_pic);
                });
                $('#add_video').on('click', function() {
                    var con_video=$('.con_video:first').clone();
                    con_video.show();
                    $('.add_content').append(con_video);
                    $(con_video).find('.tHandleDel').on('click', function() {
                        $(this).parentsUntil('.add_content').remove();
                    });
                    //上下
                    move(con_video);
                });
            });
            //信息收集
            $(function() {
                $('.bm_lock').on('click', function() {
                    if($(this).hasClass('bm_lock_checked')){
                        $(this).removeClass('bm_lock_checked');
                        $(this).prev().val('2');
                    }else {
                        $(this).addClass('bm_lock_checked');
                        $(this).prev().val('1');
                    }
                });
            });
            //活动信息
            $(function() {
                $('.radios2').on('click', function() {
                    var radio = $(this).hasClass('radios_checked');
                    $(this).addClass('radios_checked');
                    $('.radios1').removeClass('radios_checked');
                    $('#needPriceRuless').show();
                    $('#needPriceRules_span').show();
                    $(this).prev().val(2);
                });
                $('.radios1').on('click', function() {
                    var radio = $(this).hasClass('radios_checked');
                    $(this).addClass('radios_checked');
                    $('.radios2').removeClass('radios_checked');
                    $('#needPriceRules_span').hide();
                    $('#needPriceRuless').hide();
                    $('.ICEPriceDiv').hide();
                    $('.ICEPrompt').hide();
                    $('#ICEcbox').prop('checked', false);
                    $(this).prev().val(1);
                });
                $('#ICEcbox').on('click', function() {
                    var radios = $('.radios1').hasClass('radios_checked');
                    if(radios) {
                        alert('仅支持线上支付的砍价活动');
                        $(this).prop('checked', false);
                    }else if($('#needPriceRuless').val()<1 || $('#floor_price').val()<1){
                        alert('线上支付不小于1元');
                        $(this).prop('checked', false);
                    }else if($('#original_price').val()<0.01) {
                        alert('原价不能为空');
                        $(this).prop('checked', false);
                    }else {
                        var box = $('#ICEcbox').prop('checked');
                        if(box == true){
                            $('.ICEPriceDiv').show();
                            $('.ICEPrompt').show();
                        }else {
                            $('.ICEPriceDiv').hide();
                            $('.ICEPrompt').hide();
                        }
                    }
                });
                $('#kjSmsCheck').on('click', function() {
                    alert('此功能需开通短信包，请前往购买套餐页订购');
                    $(this).prop('checked', false);
                });
                $('#kjSmsCheck_c').on('click', function() {
                    alert('此功能需开通短信包，请前往购买套餐页订购');
                    $(this).prop('checked', false);
                });
            });
            //更换标题
            $(function() {
                //打开标题弹窗
                var data = null;
                $('.change_title').on('click', function() {
                    if(!data){
                        $.showLoading('标题加载中');
                        $.post(url.title_list).then(function(res) {
                            $.hideLoading();
                            if(res.result == 'error') {
                                alert(res.message || '加载失败');
                            }
                            console.log(res);
                            data = res.data;
                            for(i in data) {
                                var input = $('<input>');
                                var span = $('<span>');
                                var label = $('<label>');
                                var li = $('<li>');
                                input.prop('type', 'radio');
                                input.prop('name', 'reply');
                                input.prop('value', data[i].value);
                                span.html(data[i].value);
                                label.append(input);
                                label.append(span);
                                li.append(label);
                                $('.title_con').append(li);
                            }
                            $('.title_tab_bg').show();
                        }).fail(function(e) {
                            console.log(e);
                            $.hideLoading();
                            alert('加载失败');
                        });
                    }else {
                        $('.title_tab_bg').show();
                    }
                    

                });
                //关闭标题弹窗
                $('.close_title').on('click', function() {
                    $('.title_tab_bg').hide();
                });
                //选择标题
                $('.title_con').on('click', 'input', function() {
                    $('#kj_title').val($(this).val());
                })
            });
            //更换模板弹窗
            $(function() {
                // ---------------------------
                var new_style;
                var cover;
                var initial_style = $('.initial_style');
                $('#mb_ul').on('click', 'li', function() {
                    // nameNow = $('body').prop('class');
                    var data_id = $(this).attr('data-id');
                    var bg = $(this).attr('data-bg');
                    var title_color = $(this).attr('data-title_color');
                    var time_color = $(this).attr('data-time_color');
                    var bargain_background = $(this).attr('data-bargain_background');
                    var bargain_border = $(this).attr('data-bargain_border');
                    var lab_background = $(this).attr('data-lab_background');
                    var lab_border = $(this).attr('data-lab_border');
                    var little_title_bg = $(this).attr('data-little_title_bg');
                    var little_title_color = $(this).attr('data-little_title_color');
                    cover = $(this).attr('data-cover');
                    new_style = '<style>' + 'body{background:url(' + bg + ') no-repeat;}' + '.big_title>.mb0{color:' + title_color + ';}' + '.time .mb0{color:' + time_color + ';}' + '.bargain_content>.mb0{background:' + bargain_background + ';border:' + bargain_border + ';}' + '.lab_content>.mb0{background:' + lab_background + ';border:' + lab_border + ';}' + '.content_self label.mb0{background:url(' + little_title_bg + ') no-repeat;' + 'color:' + little_title_color + ';}' + '.content_fix label.mb0{background:url(' + little_title_bg + ') no-repeat;' + 'color:' +　little_title_color +';}' + '.content_self label.mb0 input{color:' + little_title_color + ';}' + '.content_fix label.mb0 input{color:' + little_title_color +';}' + '</style>'
                    // console.log(new_style);
                    $('style').remove();
                    $('head').append(new_style);
                    $('.top_pic').prop('src', cover);
                    // console.log($('style').html());
                    // var cls = "."+data_id;
                    // nam = "."+nameNow;
                    // $(nam).prop('class', 'mb'+data_id);
                });
                var mb_data = null;
                // ---------------------------
                $('#change_mb').on('click', function() {
                    // --------------------------
                    if(!mb_data) {
                        $.showLoading('模板加载中'); 
                        $.post(url.mb_list)
                        .then(function(res) {
                            $.hideLoading();
                            if(res.result == 'error') {
                                alert(res.message || '加载失败');
                            }
                            console.log(res);
                            mb_data = res.data;
                            for(var i in mb_data) {
                                var img = $('<img>').prop('src', mb_data[i]['src']);
                                var li = $('<li>').append(img);
                                li.attr('data-id', mb_data[i]['id']);
                                li.attr('data-bg', mb_data[i]['bg']);
                                li.attr('data-cover', mb_data[i]['cover']);
                                li.attr('data-title_color', mb_data[i]['title_color']);
                                li.attr('data-time_color', mb_data[i]['time_color']);
                                li.attr('data-bargain_background', mb_data[i]['bargain_background']);
                                li.attr('data-bargain_border', mb_data[i]['bargain_border']);
                                li.attr('data-lab_background', mb_data[i]['lab_background']);
                                li.attr('data-lab_border', mb_data[i]['lab_border']);
                                li.attr('data-little_title_bg', mb_data[i]['little_title_bg']);
                                li.attr('data-little_title_color', mb_data[i]['little_title_color']);
                                $('#mb_ul').append(li);
                            }
                            $('.banner_img_tab').hide();
                            $('.banner_mb_tab').show();
                        })
                        .fail(function(e) {
                            $.hideLoading();
                            alert('连接失败');
                            console.log(e)
                        });
                    } else {
                        $('.banner_img_tab').hide();
                        $('.banner_mb_tab').show();
                    }
                    // ----------------------
                    
                });
                // var nameNow = $('body').prop('class');
                // var nowSrc = $('.top_pic').prop('src');
                // var nam;
                // var certain;
                var now_style;
                var now_cover;
                //更换
                // $('.banner_mb_tab_div').find('img').on('click', function() {
                //     var imgSrc = $(this).prop('src');
                //     nameNow = $('body').prop('class');
                //     $('.top_pic').prop('src', imgSrc);
                //     var nameCls = $(this).prop('id');
                //     var cls = "."+nameCls;
                //     nam = "."+nameNow;
                //     $(nam).prop('class', nameCls);
                //     // console.log(nam)
                //     // nameNow = $('body').prop('class');
                // });
                    // console.log(nameNow)
                    // console.log(new_style)
                    // var initial_style = new_style;
                    // console.log(initial_style)
                    now_cover = $('.top_pic').prop('src');
                //确定
                $('.banner_mb_tab_clk').on('click', function() {
                    $('.banner_mb_tab').hide();
                    now_cover = $('.top_pic').prop('src'); 
                    // certain = $('body').prop('class');
                    now_style = new_style;
                });
                //取消
                $('.banner_mb_tab_qx').on('click', function() {
                    $('.banner_mb_tab').hide();
                    // nameNow = $('body').prop('class');
                    // nam = "."+nameNow;
                    // $(nam).prop('class', certain);
                    if(now_style == undefined) {
                        $('head').append(initial_style);
                    } else {
                        $('head').append(now_style);
                    }
                    $('.top_pic').prop('src', now_cover);
                });
            });
            //更换图片
            $(function() {
                var cover_data = null;
                $('#change_img').on('click', function() {
                    if(!cover_data) {
                        $.showLoading('图片加载中');
                        $.post(url.cover_list).then(function(res) {
                            $.hideLoading();
                            if(res.result == 'error') {
                                alert(res.message || '加载失败');
                            }
                            // console.log(res);
                            cover_data = res.data;
                            for(var j in cover_data) {
                                var img = $('<img>').prop('src', cover_data[j]['src']);
                                var li = $('<li>').append(img);
                                li.attr('data-id', cover_data[j]['id']);
                                li.attr('data-cover', cover_data[j]['cover']);
                                $('#img_ul').append(li);
                            }
                            $('.banner_mb_tab').hide();
                            $('.banner_img_tab').show();
                        }).fail(function(e) {
                            $.hideLoading();
                            alert('连接失败');
                            // console.log(e);
                        });
                    }else {
                        $('.banner_mb_tab').hide();
                        $('.banner_img_tab').show();
                    }
                });
                var nowSrc = $('.top_pic').prop('src');
                // $('#change_img').on('click', function() {
                //     $('.banner_mb_tab').hide();
                //     $('.banner_img_tab').show();
                // });
                //更换
                $('#img_ul').on('click', 'li', function() {
                    var imgSrc = $(this).attr('data-cover');
                    $('.top_pic').prop('src', imgSrc);
                });
                //上传
                // $("#file1").change(function(){
                //     var objUrl = getObjectURL(this.files[0]) ;
                //     console.log("objUrl = "+objUrl) ;
                //     if (objUrl) 
                //     {
                //         // var img0 = '<img src="" class="img0" width="100%">';
                //         $('.top_pic').prop('src', objUrl);
                //     }
                // });

                //上传
                $("#file1").change(function(){
                    $.showLoading('图片上传中');
                    var cur = this;
                    var img_fd = new FormData();
                    img_fd.append('image', this.files[0]);
                    $.ajax({
                        type: "post",
                        url: url.upload_img,
                        asunc: true,
                        data: img_fd,
                        cache: false,
                        processData: false,
                        contentType: false,
                        success: function(res) {
                            $.hideLoading();
                            if(res.result == 'error') {
                                alert(res.message || '上传失败');
                                return false;
                            }
                            var data = res.data;
                            var objUrl = getObjectURL(cur.files[0]); 
                            if (objUrl) {
                                $('.top_pic').prop('src', objUrl);
                            }
                        },
                        error: function(e) {
                            $.hideLoading();
                            alert('上传失败');
                        }
                    });
                });
                //确定
                $('.banner_img_tab_clk').on('click', function() {
                    $('.banner_img_tab').hide();
                    nowSrc = $('.top_pic').prop('src');
                });
                //取消
                $('.banner_img_tab_qx').on('click', function() {
                    $('.banner_img_tab').hide();
                    $('.top_pic').prop('src', nowSrc);
                    // console.log(nowSrc);
                });
            });
            //地图
            (function(){
                var iframe = document.getElementById('test').contentWindow;
                document.getElementById('test').onload = function(){
                    iframe.postMessage('hello','https://m.amap.com/picker/');
                };
                window.parent.onmessage = function(e){
                    // alert('您选择了:' + e.data.name + ',' + e.data.location)
                    $('#consultation_addAds').val(e.data.name);
                    $('#test').hide();
                };
            }());


            //上传图片
            function upload(x) {
                $(x).find("#file0").change(function(){
                    // -------------------------------
                    // todo animation show
                    $.showLoading('图片上传中')
                    var cur = this;
                    var fd = new FormData();
                    fd.append('image', this.files[0]);
                    $.ajax({
                        type: "post",
                        url: url.upload_img,
                        asunc: true,
                        data: fd,
                        cache: false,
                        processData: false,
                        contentType: false,
                        success: function(res) {
                            // todo aniamtion hidden
                            $.hideLoading();
                            if(res.result == 'error') {
                                alert(res.message || '上传失败');
                                return false;
                            }
                            var data = res.data;
                            // use api
                            // $(x).find('.img0').prop('src', data.src);
                            // or use local
                            var objUrl = getObjectURL(cur.files[0]);
                            if (objUrl) 
                            {
                                // $("#img0").css('display:block');
                                // var img0 = $("#img0").clone();
                                var img0 = '<img src="" class="img0" width="100%">';
                                $(x).find('.input_pic').hide();
                                $(x).find('.textMark_handle').before(img0);
                                $(x).find('.img0').prop('src', objUrl);
                            }
                        },
                        error: function(e) {
                            // todo aniamtion hidden
                            $.hideLoading();
                            alert('上传失败');
                        }
                    });
                    // -----------------------------------

                    // var objUrl = getObjectURL(this.files[0]) ;
                    // console.log("objUrl = "+objUrl) ;
                    // if (objUrl) 
                    // {
                    //     // $("#img0").css('display:block');
                    //     // var img0 = $("#img0").clone();
                    //     var img0 = '<img src="" class="img0" width="100%">';
                    //     $(x).find('.input_pic').hide();
                    //     $(x).find('.textMark_handle').before(img0);
                    //     $(x).find('.img0').prop('src', objUrl);
                    // }
                });
            }
            //存取file的url
            function getObjectURL(file) {
                var Objecturl = null ;
                Objecturl = window.URL.createObjectURL(file);
                return Objecturl ;
            }
            //上下移动
            function move(move_item) {
                $(move_item).find('.tHandleTop').on('click', function() {
                    var me = $(this).parent().parent();
                    var prev = me.prev();//上一个元素
                    $(me).after(prev);
                    $(prev).before(me);
                    event.stopPropagation();
                });
                //下
                $(move_item).find('.tHandleBottom').on('click', function() {
                    var my = $(this).parent().parent();
                    var next = my.next();//下一个元素
                    $(my).before(next);
                    $(next).after(me);
                    event.stopPropagation();
                });
            }
            //当前时间
            var time;
            function current_time() {
                var date=new Date();
                var year=date.getFullYear();
                var month = date.getMonth()+1;
                var mydate = date.getDate();
                var hour = date.getHours();
                var minute = date.getMinutes();
                month=month<10?'0'+month:month;
                mydate=mydate<10?'0'+mydate:mydate;
                hour=hour<10?'0'+hour:hour;
                minute=minute<10?'0'+minute:minute;
                time = year+'-'+month+'-'+mydate+' '+hour+':'+minute;
            }
            //预览 提交判断
            function getSubmitObj() {
                var kj_title = $('#kj_title').val();//活动大标题
                var original_price = $('input[name=original_price]').val();//原价
                var floor_price = $('input[name=floor_price]').val();//底价
                var jk_x = $('input[name=jk_x]').val();//砍价次数
                var commodity_num = $('input[name=commodity_num]').val();//商品数量
                var consultation_name = $('input[name=busi_name]').val();//商家姓名
                var consultation_tel = $('input[name=busi_phone]').val();//咨询热线
                if(kj_title.length <= 0) {
                    alert('活动标题不能为空');
                    return false;
                }
                else if(original_price<0.01) {
                    alert('原价不能为空');
                    return false;
                } else if(floor_price < 0.01 || floor_price >= original_price) {
                    $('#floor_price').val('');
                    alert('底价不能为空');
                    return false;
                } else if(jk_x <= 0) {
                    $('#jk_x').val('');
                    alert('砍价次数不能为空');
                    return false;
                } else if(commodity_num <= 0) {
                    $('#commodity_num').val('');
                    alert('商品数量不能为空');
                    return false;
                } else if(consultation_name.length <= 0) {
                    alert('商家姓名不能为空');
                    return false;
                } else if(consultation_tel.length <= 0) {
                    alert('咨询热线不能为空');
                    return false;
                }
                // return submitObj;
            }
        });
        //textarea自适应高
        function MaxMe(o) {
            if (window.navigator.userAgent.indexOf("Firefox") > -1) {
                o.style.height = o.scrollTop + o.scrollHeight + "px";
            } else {
                o.style.height = o.scrollHeight + "px";
            }
        }
        require(['jquery'], function($) {
            $(function() {
                $('.loadings').remove();
            })
        })
    </script>
</body>
</html>

